<!DOCTYPE html>
<html>
<head>
  <title>Tile Engine</title>
  <style>
  canvas {
    background: black;
  }
  </style>
  <script type="text/javascript" src="../../../kontra.js"></script>
</head>
<body>
  <canvas id="game" width="600" height="400" style="background: #333331"></canvas>
  <script id="code">/**
 * ATTRIBUTION:
 * roguelikeDungeon_transparent.png - Kenney Rougelike Caves & Dungeons https://kenney.nl/assets/roguelike-caves-dungeons
 */
kontra.init();

kontra.load('./roguelikeDungeon_transparent.png', './marginTiles.json', './roguelikeDungeon_transparent.json').then(function() {
  tileEngine = kontra.TileEngine(kontra.dataAssets['./marginTiles']);
  tileEngine.render();
});</script>
  <script src="../../prism/codeOutput.js"></script>
</body>
</html>